/**
 * Created by YIJIEDAO2 on 2017/5/30.
 */
import React from 'react';
import {Router, Route, hashHistory, Redirect} from 'react-router';
import Layout from '../container/layout/layout'
import Menu from '../container/Menu/menu'
import User from '../container/User/user'
import Login from '../components/Login/index'
const Nav1 = () => {
    return (
        <div>1111479</div>
    )
};
//框架页面
const RouteConfig = (
    <Router history={hashHistory}>
        <Route path="" component={Layout}>
            <Route path="/nav1" component={Nav1}/>
            <Route path="/menuConfig" component={Menu}/>
            <Route path="/userList" component={User}/>
            <Route path="/login" component={Login}/>
            <Redirect from='*' to='/userList'/>
        </Route>
    </Router>
);

export default RouteConfig


